package com.rs.dao;

import com.rs.entity.Student;
import com.rs.entity.StudentExample;
import com.rs.entity.login.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * StudentDAO继承基类
 */
@Repository
public interface StudentDAO extends MyBatisBaseDao<Student, Integer, StudentExample> {
    
    /**
     * 登陆
     * @param username
     * @return
     */
    Student login(@Param("username") String username);
    
}
